package com.yhn.init.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * 财务尾款
 *
 * @author yhnyhn123
 */
@TableName(value = "financial_details")
@Data
public class FinancialDetails implements Serializable {
    /**
     * 财务尾款ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 订单ID
     */
    private Long orderId;

    /**
     * 填写日期（自动生成）
     */
    private Date fillDate;

    /**
     * 金额
     */
    private Integer amount;


    /**
     * 凭据照片
     */
    private String receiptPhoto;

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
